package com.addplus.townmall.server.api.model.town.expand;

import com.addplus.townmall.server.api.model.town.CouponMemberRecord;
import lombok.Data;
import lombok.EqualsAndHashCode;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Set;

/**
 * 类名: CouponMemberRecordExpand
 *
 * @author zhangjiehang
 * @version V1.0
 * @date 2018/10/31 4:32 PM
 * @description 类描述: 商城用户优惠券出参实体类
 */
@Data
@EqualsAndHashCode(callSuper = true)
@Accessors(chain = true)
public class CouponMemberRecordExpand extends CouponMemberRecord implements Serializable {
    private static final long serialVersionUID = -8456323651560861595L;

    /**
     * 优惠券封面
     */
    private String integralCover;

    /**
     * 优惠券名称
     */
    private String couponName;

    /**
     * 优惠券描述
     */
    private String couponDescribe;

    /**
     * 优惠券类型(0:平台通用 1:店铺优惠券 2:自营产品优惠券)
     */
    private Integer couponType;

    /**
     * 所属店铺
     */
    private Integer storeId;

    /**
     * 优惠券类型(1:折扣 2:满减 3:免邮卷)
     */
    private Integer discountType;

    /**
     * 最低消费金额
     */
    private BigDecimal minPrice;

    /**
     * 优惠金额
     */
    private BigDecimal subPrice;

    /**
     * 折扣率
     */
    private BigDecimal discount;

    /**
     * 限定商品类别集合(以逗号分隔)
     */
    private String platformCategoryIdList;

    /**
     * 限定商品类别集合(以逗号分隔)
     */
    private String goodsIdList;

    /**
     * 可用商品列表
     */
    private Set<Integer> shopSetList;

}
